package cn.iocoder.yudao.module.erp.controller.app.erpSupplierguide.vo;

import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import cn.iocoder.yudao.module.system.enums.DictTypeConstants;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 用户 Excel 导入 VO
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免用户导入有问题
public class SupplierGuideImportExcelVO {

    @Schema(description = "物料名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "青菜")
    @ExcelProperty("物料名称")
    private String name;

    @Schema(description = "品类", requiredMode = Schema.RequiredMode.REQUIRED, example = "蔬菜类")
    @ExcelProperty("品类")
    private String type;

    @Schema(description = "单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "斤")
    @ExcelProperty("单位")
    private String unit;

    @Schema(description = "等级", requiredMode = Schema.RequiredMode.REQUIRED, example = "普通")
    @ExcelProperty("等级")
    private String level;

    @Schema(description = "产地", requiredMode = Schema.RequiredMode.REQUIRED, example = "广州")
    @ExcelProperty("产地")
    private String origin;

    @Schema(description = "供应商指导价", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("供应商指导价")
    private BigDecimal guidePrice;

    @Schema(description = "官方指导价", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("官方指导价")
    private BigDecimal SystemPrice;

    @Schema(description = "有效期开始时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2025-05-26")
    @ExcelProperty("有效期开始时间")
    private String validityStartTime;

    @Schema(description = "有效期结束时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2025-05-26")
    @ExcelProperty("有效期结束时间")
    private String validityEndTime;

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;


}
